<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
	<link href="/public/tree/bootstrap.css" rel="stylesheet">
    <link href="/public/tree/bootstrap-responsive.css" rel="stylesheet">
    <link href="/public/tree/base.css" rel="stylesheet">
    <link href="/public/tree/sweet-alert.css" rel="stylesheet">
    <script src="/public/tree/jquery.js"></script>
  	<script src="/public/tree/bootstrap.min.js"></script>
    <script src="/public/tree/sweet-alert.min.js"></script>
  	<style type="text/css">body{font-family: 微软雅黑;}</style>
    <title>计划任务系统</title>
  </head>
  <body style="padding:10px;">

<div id="navbar-example" class="navbar navbar-static">
    <div class="navbar-inner">
      <div class="container" style="width: auto;">
        <a class="brand" href="/">计划任务系统</a>

        <ul class="nav pull-right">
          <li id="fat-menu" class="dropdown">
            <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                {{$smarty.const.U_REALNAME}}
              <b class="caret"></b></a>
            <ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="/">
                  返回主菜单
                </a>
              </li>
              {{if $smarty.const.U_ROLE == 2}}
              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="/user/index/">
                  用户管理
                </a>
              </li>
              {{/if}}
              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="/index/?did={{$smarty.const.UID}}">
                  我的任务
                </a>
              </li>
              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="/index/alarm/?did={{$smarty.const.UID}}">
                  我的报警日志
                </a>
              </li>
              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="/login/logout/">
                  退出登陆
                </a>
              </li>
            </ul>
          </li>
        </ul>
      </div>
    </div>
</div>